package string;

public class ReplaceAll1 {
    public static void main(String[] args) {
        String line ="abc123def456ghj789";
        line = line.replaceAll("[0-9]+","**");
        System.out.println(line);
    }
}
